Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
WriteMarkers(String,Int32,Generic RasterCollection) Method
See Also 
Leadtools.Codecs Namespace > RasterCodecs Class > WriteMarkers Method : WriteMarkers(String,Int32,Generic RasterCollection) Method




fileName
A String that contains the file name.
pageNumber
1-based index of the page at which to write the marker.
markers
A collection of RasterMarkerMetadata objects that contains the marker data.
Writes one or more markers to an existing file.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub WriteMarkers( _
   ByVal fileName As String, _
   ByVal pageNumber As Integer, _
   ByVal markers As RasterCollection(Of RasterMarkerMetadata) _
) 
Visual Basic (Usage)Copy Code
Dim instance As RasterCodecs
Dim fileName As String
Dim pageNumber As Integer
Dim markers As RasterCollection(Of RasterMarkerMetadata)
 
instance.WriteMarkers(fileName, pageNumber, markers)
C# 
public void WriteMarkers( 
   string fileName,
   int pageNumber,
   RasterCollection<RasterMarkerMetadata> markers
)
Managed Extensions for C++ 
public: void WriteMarkers( 
   string* fileName,
   int pageNumber,
   RasterCollection<RasterMarkerMetadata> markers
) 
C++/CLI 
public:
void WriteMarkers( 
   String^ fileName,
   int pageNumber,
   RasterCollection<RasterMarkerMetadata> markers
) 

Parameters

fileName
A String that contains the file name.
pageNumber
1-based index of the page at which to write the marker.
markers
A collection of RasterMarkerMetadata objects that contains the marker data.

Example

For an example, refer to WriteMarker.

Remarks

For Exif files, this metadata collection will contain all the Exif and GPS comments, stored in APP1. It will also contain the audio information stored in APP2.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also